package com.ccntec.spark.core;

import java.io.IOException;

import javax.servlet.jsp.tagext.TagSupport;

import com.ccntec.spark.core.util.StringUtil;

public class BasicTagSupport extends TagSupport {
	public void outPrint(Object obj){
		try {
			pageContext.getOut().print(obj);
		} catch (IOException e) {
			System.out.println("IO异常："+this.getClass().getName());
			e.printStackTrace();
		}
	}
	public boolean isNull(String str){
		return StringUtil.isNull(str);
	}
}
